package yl.hs.bmipfull.daos.finance;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.finance.ReceiptSettleDetailEntity;
import yl.hs.bmipfull.pojo.finance.ReceiptSettleTemp;
import yl.hs.bmipfull.pojo.finance.ShipSettleDetailEntity;

import java.util.Date;
import java.util.List;

/**
 * IReceiptSettleDetailDao
 * @category
 * @author 谢景广
 * @date 2022-01-18
 */
@Repository
public interface IReceiptSettleDetailDao extends BaseDao<ReceiptSettleDetailEntity> {

    List<ReceiptSettleDetailEntity> queryBySettleSN(@Param("settleSN") String settleSN);

    Integer deleteBySettleSN(@Param("settleSN") String settleSN);

    List<ReceiptSettleTemp> queryTempDetails(String contractSN, String companySN, Date start, Date end);
}
